package com.sk.skplanet.commute.views;

import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;

import com.sk.skplanet.commute.R;
import com.sk.skplanet.commute.vo.Data;

@SuppressLint("HandlerLeak")
public class SplashActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.splashactivity);

		Handler handler = new Handler() {
			@Override
			public void handleMessage(Message msg) {
				Intent i = new Intent(SplashActivity.this, MemberLogin.class);
				startActivity(i);
				finish();
			}
		};
		handler.sendEmptyMessageDelayed(0, Data.splashTime);

	}
}
